package com.zz.ecommerce.common.bean.insp.db.payment;

import com.zz.bundles.cache.dict.DictTag;
import com.zz.ecommerce.common.bean.insp.xml.payment.PaymentHead;
import com.zz.ecommerce.common.constants.DictConstants;
import com.zz.ecommerce.utils.SqlType;

/**
 * Created by admin on 2016/3/16.
 */
public class TPaymentHeadInsp extends PaymentHead {
    private String id;

    @SqlType(type = "date", format = "yyyy-MM-dd hh24:mi:ss" ,qryStart = "createTimeStart",qryEnd = "createTimeEnd")
    private String createTime;

    @SqlType(inTable = false)
    private String createTimeStart;

    @SqlType(inTable = false)
    private String createTimeEnd;

    private String status;

    @SqlType(type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String statusTime;

    private String operId;

    private String orgId;

    @SqlType(inTable = false,type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String decldateStart;
    @SqlType(inTable = false,type = "date", format = "yyyy-MM-dd hh24:mi:ss")
    private String decldateEnd;

    public String getDecldateStart() {
        return decldateStart;
    }

    public void setDecldateStart(String decldateStart) {
        this.decldateStart = decldateStart;
    }

    public String getDecldateEnd() {
        return decldateEnd;
    }

    public void setDecldateEnd(String decldateEnd) {
        this.decldateEnd = decldateEnd;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusTime() {
        return statusTime;
    }

    public void setStatusTime(String statusTime) {
        this.statusTime = statusTime;
    }

    public String getOperId() {
        return operId;
    }

    public void setOperId(String operId) {
        this.operId = operId;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getCreateTimeStart() {
        return createTimeStart;
    }

    public void setCreateTimeStart(String createTimeStart) {
        this.createTimeStart = createTimeStart;
    }

    public String getCreateTimeEnd() {
        return createTimeEnd;
    }

    public void setCreateTimeEnd(String createTimeEnd) {
        this.createTimeEnd = createTimeEnd;
    }

    public String getCurrencycodeDisplay() {
        return DictTag.getCargoParamVal(DictConstants.S_CURRENCY_E, currencycode, "CODE_I", "NAME_I");
    }
}
